﻿
<!DOCTYPE html>
@using CHGK.web.UI
<html>
<head>
    @using CHGK.web.UI.Models
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>Welcome, Gamers!</h1>
            </div>
            <div id="logindisplay">
                @Html.Partial("_LogOnPartial")
            </div>
            <nav>
                <ul id="menu">
                    @if (Request.IsAuthenticated)
                    {<li>@Html.ActionLink("Страница команды", "TeamPage", "Team", new { TourNumber = 1, QuestionNumber = 1 }, null)</li>}                <li>@Html.ActionLink("Таблица", "SummaryTable", "Home", new {CompetitionID = 0}, null)</li>
                    <li>@Html.ActionLink("Авторы", "About", "Home")</li>                                                                                                            
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
</body>
</html>
